﻿<%@ Page Language="VB" AutoEventWireup="true" CodeFile="LoginFormTest.aspx.vb" Inherits="LoginFormTest" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <title></title>
    <script type="text/javascript" src="js/jquery-1.8.3-min.js"></script>
    <style>
        .watermarked {
            color:gray;
           
        }
    </style>
    <script type="text/javascript">

        function onpwd_blur() {
            var textBox = document.getElementById("txtPwd");
            if (textBox.value.length == 0) {
                textBox.type = 'text';
            } else {
                textBox.type = 'password';
            }
        }
        function onpwd_click() {
            var textBox = document.getElementById("txtPwd");
            textBox.type = 'password';
            //alert("xx")
        }


        $(document).ready(function () {
            var cauttxt = document.getElementById("cautiontxt");
            if ($.browser.msie && $.browser.version < 8) {
                cauttxt.style.display = "block";

            } else {
                cauttxt.style.display = "none";
            }

        });
    </script>
</head>
<body>

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div>
            <%--<div >Version 1.08.131103.1</div>--%>
            <div id="code_version" runat="server" align="right">Version 1.17.140115.1</div>
            <center>
                <div id="cautiontxt" style="display:none;"><p style="color:red;">ตรวจพบ Compatibility View ถูกเปิดใข้งาน ระบบอาจจะไม่สามารถทำงานได้ถูกต้อง กรุณาอ่านคู่มือการปิดการทำงานของ Compatibility View</p></div>
                <div style="background-image:url(images/login1.jpg);background-repeat:no-repeat;width:594px;height:270px;padding-top:215px;margin-top:50px;">
                <table style="margin-left:170px;">
                    <tr>
                        <td></td>
                    </tr>
                    <tr>
                        <td style="padding:5px;text-align:left;">
                            <asp:Label ID="label1" runat="server" Text="ชื่อผู้ใช้งาน" ForeColor="White" Font-Size="14px" Font-Bold="true" Font-Italic="true"></asp:Label><br />
                            <asp:TextBox ID="txtUser" runat="server" Width="200px" Height="25px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding:5px;text-align:left;">
                            <asp:Label ID="label2" runat="server" Text="รหัสผ่าน" ForeColor="White" Font-Size="14px"  Font-Bold="true" Font-Italic="true"></asp:Label><br />
                            <asp:TextBox ID="txtPwd" runat="server" Width="200px" Height="25px" TextMode="Password"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="text-align:right">
                            <asp:ImageButton ID="Button1" runat="server" ImageUrl="images/login2.png" Width="83px"/>&nbsp;</td>
                    </tr>
                </table>
                    </div>
                <asp:Label ID="lbDisplay" runat="server" ForeColor="Red" Visible="false"></asp:Label>
            </center>
            <br />


        </div>
    </form>
</body>
</html>

